const { request } = require('../request')
const getRecommendData = async () => {
  const res = await request('/category/recommend')
  return res
}

const getCategoryData = async () => {
  const res = await request('/category/all')
  return res
}

export {
  getRecommendData,
  getCategoryData
}